/**
 * 根据分辨率计算尺寸
 */
const Dimensions = require('Dimensions');
const deviceW = Dimensions.get('window').width
const basePx = 750;
export function px2dp(px) {
  return px *  deviceW / basePx
}


